import request from '@/utils/request'

export function getList(page) {
  return request({
    url: '/api/column_mapping/list',
    method: 'get',
    params: {...page}
  })
}

export function add(obj) {
  return request({
    url: '/api/column_mapping/add',
    method: 'post',
    data: {...obj}
  })
}

export function edit(obj) {
  return request({
    url: '/api/column_mapping/update',
    method: 'post',
    data: {...obj}
  })
}

export function deleteType(id) {
  return request({
    url: '/api/column_mapping/delete',
    method: 'post',
    params: {id}
  })
}

export function verify(id) {
  return request({
    url: '/api/column_mapping/verify',
    method: 'post',
    params: {id}
  })
}

